<%-- 
    Document   : userAdd
    Created on : 2019-9-26, 9:38:49
    Author     : danny
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jspf/top.jsp" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>添加用户</h1>
        <h5 style="color: red">${error}</h5>
        <form action="${contextPath}/user/add/do" method="post">
            账号：<input type="text" name="account" value="${param.account}"/><br>
            姓名：<input type="text" name="userName"  value="${param.userName}"/><br>
            密码：<input type="password" name="password" /><br>
            性别：<input type="radio" name="sex" value="true" />男&nbsp;&nbsp;&nbsp;
            <input type="radio" name="sex" value="false" />女<br>
            <input type="submit" value="保存" />
        </form>
    </body>
</html>
